package com.neuedu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.entity.Register;
import com.neuedu.vo.RegisterCondition;

import java.util.List;
import java.util.Map;

public interface RegisterService extends IService<Register> {

    //添加挂号
    boolean add(Register register);

    //获取挂号列表---医生接诊使用
    List<Register> list(RegisterCondition registerCondition);

    //获取挂号列表---医生接诊使用
    Map<String, Integer> getRegisterCount(int doctorId);

    //更新病历
    boolean modifyRegister(String registerId, String speak);

    //确诊病历
    boolean insureRegister(String registerId, String result, int diseaseId);

}
